package com.wangdao.wechatmall.service.admin;

import com.wangdao.wechatmall.bean.bo.admin.*;
import com.wangdao.wechatmall.bean.pojo.Ad;
import com.wangdao.wechatmall.bean.pojo.Coupon;
import com.wangdao.wechatmall.bean.pojo.Topic;
import com.wangdao.wechatmall.bean.vo.admin.AdCreateVO;
import com.wangdao.wechatmall.bean.vo.admin.BaseDataVO;

/**
 * @author ShuiYi
 * @time 2021-07-09 15:09
 */
public interface PromotionService {
    BaseDataVO adList(BaseReqBO baseReqB);

//    StorageCreateVO storageCreate(MultipartFile file);

    void adDelete(Ad ad);

    AdCreateVO adUpdate(Ad ad);

    AdCreateVO adCreate(Ad ad);

    BaseDataVO couponList(CouponListBO couponListBO);

    Coupon couponCreate(Coupon coupon);

    Coupon couponRead(Integer id);

    BaseDataVO couponListUser(CouponListUserBO couponListUserBO);

    Coupon couponUpdate(CouponUpdateBO couponUpdateBO);

    void couponDelete(CouponDeleteBO couponDeleteBO);

    BaseDataVO topicList(TopicListBO topicListBO);

    Topic topicCreate(Topic topic);

    Topic topicUpdate(Topic topic);

    void topicDelete(Topic topic);
}
